package com.huazi.eduorder.feginclient;

import com.huazi.commonutils.CourseOrder;
import com.huazi.commonutils.MemberOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.lang.reflect.Member;

/**
 * @author shkstart
 * @create 2021-03-30 19:15
 */
@Component
@FeignClient(name = "service-ucenter",fallback = MemberClientFallback.class)
public interface MemberClient {
    @GetMapping("/educenter/member/getMemberOrderInfo/{id}")
    MemberOrder getMemberOrderInfo(@PathVariable(value = "id") String id);
}
